#include"../mqserver/mq_connection.hpp"

int main()
{
    xiang11mq::ConnectionManager::ptr cmp = std::make_shared<xiang11mq::ConnectionManager>();

    cmp->newConnection(std::make_shared<xiang11mq::VirtualHost>("host1", "./data/host1", "./data/host1/host1.db"),
    std::make_shared<xiang11mq::ConsumerManager>(), 
    xiang11mq::ProtobufCodecPtr(), 
    muduo::net::TcpConnectionPtr(), 
    threadPool::ptr());


    return 0;
}